Page 67 - 2629_Devagiri_C-7
P. 67

THE <SUB> TAG
                 The  <SUB> tag  is  used to  show subscript  text.  It  display  the  text  smaller than  the  normal
                 text  and below the  margin  line  of text.  It  is  a  container  tag.  For example,  H O is  coded  as
                                                                                                     2
                 H<SUB>2</SUB>O.

                    Code     Write the HTML code to display the given web page using the <B>, <I>, <U>
                      5      <SUP> and <SUB> tags.


                 <!DOCTYPE HTML>
                 <HTML>
                 <HEAD>

                 <TITLE>SCIENCE NOTES</TITLE>
                 </HEAD>
                 <BODY>
                 <I>Science Notes –
                 4<SUP>th</SUP> Sep 2025</I><BR><BR> <P>

                 The chemical formula of <U>water</U> is <B>H<SUB>2</SUB>O</B>.
                 </P>
                 <P>
                 The chemical formula of <U>oxygen</U> is <B>O<SUB>2</SUB></B>.
                 </P>
                 <P>
                 The chemical formula of <U>carbon dioxide</U> is <B>CO<SUB>2</SUB></B>.

                 </P>
                 </BODY>
                 </HTML>




                    Create a web page by following these instructions:
                    (a)  Title: Teacher’s Day.
                    (b)  Heading: Thank You, Teacher.
                    (c)  Write a paragraph expressing gratitude towards your teacher.





                  RAPID RECALL                             Tick ( ) if you know this.


                     1.  Tags are the building blocks of HTML used to create and structure content on the web.


                     2.  An attribute provides additional information or properties for an HTML tag.








                                                                                                                  65
                                                                                             HTML5–Getting Started
   62   63   64   65   66   67   68   69   70   71   72